import { User } from './Users';
import { Company } from './Company';
import { CustomMap } from './CustomMap';

const user = new User();
const company = new Company();
const map = new CustomMap('container');

// console.log(user);
//User {name: 'Karson', location: {lat: 26.6412, lng: -145.0176}}
// console.log(compnay);
//Company {name: 'Bernhard - Bashirian', catchPhrase: 'Versatile mobile projection', location: {lat: -32.224, lng: 10.1234}}

//创建定位覆盖到地图上
map.addMarker(user);
map.addMarker(company);
